Skip to content

Fix the declaration of license data - #1451

Merged
sirosen merged 1 commit into
globus:mainfrom
sirosen:fix-license-declaration
Nov 12, 2026
Merged

sirosen merged 1 commit into
globus:mainfrom
sirosen:fix-license-declaration

Conversation

@sirosen

@sirosen sirosen commented Nov 12, 2026

Copy link
Copy Markdown
Member

I found this issue while developing mddj read license. When I ran it on the SDK, I got the following result:

$ mddj read license
text:

Apache-2.0

With this fix, I get the corrected:

$ mddj read license
expression: Apache-2.0

Our existing declaration of project.license.text does not align with
our intent: we are stating that "Apache-2.0" is the full text of our
license
. We mean to be stating it as an SPDX license expression.

Updating to the newer license metadata format fixes this:
project.license is published as License-Expression.

This fix causes setuptools to fail, raising an error regarding the
combination of project.license and the license classifier. (The license
classifier is deprecated; setuptools has chosen to reject it in this
circumstance.)

Our existing declaration of `project.license.text` does not align with
our intent: we are stating that "Apache-2.0" is *the full text of our
license*. We mean to be stating it as an SPDX license expression.

Updating to the newer license metadata format fixes this:
`project.license` is published as `License-Expression`.

This fix causes `setuptools` to fail, raising an error regarding the
combination of `project.license` and the license classifier. (The license
classifier is deprecated; `setuptools` has chosen to reject it in this
circumstance.)
@sirosen sirosen added the no-news-is-good-news This change does not require a news file label Nov 12, 2026
@codspeed

This comment was marked as resolved.

@sirosen
sirosen merged commit 40ce7d4 into globus:main Nov 12, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no-news-is-good-news This change does not require a news file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants